/*
 * Created on 2006-2-27
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.hitrust.gs.vo;

import com.hitrust.gs.service.GSBaseBean;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author simonyi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class GSOrderManufactureVO_ implements GSBaseBean{

    public String manufactureId;
    public String manufactureName;
    public String contentricityId;
    public String orderCount;
    public String deliverGoodsDate;
    public String deliverGoodsTime;
    public String orderTempId;
    public String orderDetailId;

    public String manufactureSpec;
    public String manufactureType;
    public String manufactrueBrand;
    public String quantUnit;
    public String authorizeAdvices;
    public String rejectCause;
    public double unitPrice;
    public double goodunitprice;
    public String period;
    
    public String providerId ;
    public String providerName; 
    public String isTradeFlatManu;
    public String isTradeFlatProv;
    public String detailStatus;
    public String balanceCategory;
    public String mode;
    
    public Object process(ResultSet aResultSet) throws SQLException {
        
    	GSOrderManufactureVO_ vo = new  GSOrderManufactureVO_();
    	vo.setManufactureId(aResultSet.getString("P1"));
    	vo.setManufactureName(aResultSet.getString("P2"));
    	vo.setContentricityId(aResultSet.getString("P3"));
    	vo.setOrderCount(Double.toString(aResultSet.getDouble("P4")));
    	vo.setDeliverGoodsDate(aResultSet.getString("P5"));
    	vo.setDeliverGoodsTime(aResultSet.getString("P6"));
    	vo.setManufactureSpec(aResultSet.getString("P7"));
    	vo.setManufactureType(aResultSet.getString("P8"));
    	vo.setManufactrueBrand(aResultSet.getString("P9"));
    	vo.setQuantUnit(aResultSet.getString("P10"));
    	vo.setUnitPrice(aResultSet.getDouble("P11"));
    	vo.setOrderDetailId(aResultSet.getString("P13"));
    	vo.setOrderTempId(aResultSet.getString("P14"));
    	vo.setAuthorizeAdvices(aResultSet.getString("P15"));
    	vo.setRejectCause(aResultSet.getString("P16"));
        vo.goodunitprice = aResultSet.getDouble("P17");
    	vo.setPeriod(aResultSet.getString("P18"));
    	vo.setProviderId(aResultSet.getString("P19"));
    	vo.setProviderName(aResultSet.getString("P20"));
    	vo.isTradeFlatManu = aResultSet.getString("P21");
    	vo.isTradeFlatProv = aResultSet.getString("P22");
    	vo.detailStatus = aResultSet.getString("P23");
    	vo.balanceCategory = aResultSet.getString("P24");
    	vo.mode=aResultSet.getString("P25");
    	return vo;

    }

    public String getContentricityId() {
        return contentricityId;
    }
    public void setContentricityId(String contentricityId) {
        this.contentricityId = contentricityId;
    }
    public String getDeliverGoodsDate() {
        return deliverGoodsDate;
    }
    public void setDeliverGoodsDate(String deliverGoodsDate) {
        this.deliverGoodsDate = deliverGoodsDate;
    }
    public String getManufactureId() {
        return manufactureId;
    }
    public void setManufactureId(String manufactureId) {
        this.manufactureId = manufactureId;
    }
    public String getManufactureName() {
        return manufactureName;
    }
    public void setManufactureName(String manufactureName) {
        this.manufactureName = manufactureName;
    }
    public String getOrderCount() {
        return orderCount;
    }
    public void setOrderCount(String orderCount) {
        this.orderCount = orderCount;
    }
    public String getDeliverGoodsTime() {
        return deliverGoodsTime;
    }
    public void setDeliverGoodsTime(String deliverGoodsTime) {
        this.deliverGoodsTime = deliverGoodsTime;
    }
    public String getOrderDetailId() {
        return orderDetailId;
    }
    public void setOrderDetailId(String orderDetailId) {
        this.orderDetailId = orderDetailId;
    }
    public String getOrderTempId() {
        return orderTempId;
    }
    public void setOrderTempId(String orderTempId) {
        this.orderTempId = orderTempId;
    }
    public String getManufactrueBrand() {
        return manufactrueBrand;
    }
    public void setManufactrueBrand(String manufactrueBrand) {
        this.manufactrueBrand = manufactrueBrand;
    }
    public String getManufactureSpec() {
        return manufactureSpec;
    }
    public void setManufactureSpec(String manufactureSpec) {
        this.manufactureSpec = manufactureSpec;
    }
    public String getManufactureType() {
        return manufactureType;
    }
    public void setManufactureType(String manufactureType) {
        this.manufactureType = manufactureType;
    }
    public String getQuantUnit() {
        return quantUnit;
    }
    public void setQuantUnit(String quantUnit) {
        this.quantUnit = quantUnit;
    }
    public String getAuthorizeAdvices() {
        return authorizeAdvices;
    }
    public void setAuthorizeAdvices(String authorizeAdvices) {
        this.authorizeAdvices = authorizeAdvices;
    }
    public String getRejectCause() {
        return rejectCause;
    }
    public void setRejectCause(String rejectCause) {
        this.rejectCause = rejectCause;
    }
    public double getUnitPrice() {
        return unitPrice;
    }
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    /**
     * @return 返回 period.
     */
    public String getPeriod() {
        return this.period;
    }

    /**
     * @param aPeriod The period to set.
     */
    public void setPeriod(String aPeriod) {
        this.period = aPeriod;
    }
    public double getGoodunitprice() {
        return goodunitprice;
    }
    public void setGoodunitprice(double goodunitprice) {
        this.goodunitprice = goodunitprice;
    }
    public String getProviderId() {
        return providerId;
    }
    public void setProviderId(String providerId) {
        this.providerId = providerId;
    }
    public String getProviderName() {
        return providerName;
    }
    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

	public String getBalanceCategory() {
		return balanceCategory;
	}

	public void setBalanceCategory(String balanceCategory) {
		this.balanceCategory = balanceCategory;
	}
}
